<template>
  <div class="cluster-item-panel">
    <div class="top">
      <img :src="item.img_show" alt />
    </div>
    <div class="bottom">
      <p class="name">
        {{item.name }}
      </p>
			<p class="desc">{{item.team_num}}人团<span>|</span>¥ {{item.spell_price}}</p>
    </div>
  </div>
</template>
<script>
export default {
	props: {
		item: {
			type: Object,
			default: () => {}
		}
	}
}
</script>
<style lang="less" scoped>
.cluster-item-panel {
  width: 6.92rem;
  height: 10.6rem;
  background: rgba(255, 255, 255, 1);
	border: 0.02px solid rgba(233, 233, 233, 1);
	display: flex;
	flex-direction: column;
	.top {
    width: 100%;
    height:6.87rem;
    border-radius: 0.1rem 0.1rem 0 0;
    overflow: hidden;
    img {
      width: 100%;
      vertical-align: bottom;
    }
  }
  .bottom {
    flex: 1;
    width: 100%;
    border-radius: 0 0 0.1rem 0.1rem;
    padding: 0.4rem;
    box-sizing: border-box;
    .name {
      width: 100%;
      overflow: hidden;
      text-overflow: -o-ellipsis-lastline;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      font-size: 0.48rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: rgba(68, 68, 68, 1);
      line-height: 0.6rem;
      height: 1.2rem;
    }
    .price {
      font-size: 0.44rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: rgba(153, 153, 153, 1);
      line-height: 0.64rem;
    }
    .desc {
      font-size: 0.52rem;
      font-family: PingFang SC;
      font-weight: bold;
      color: rgba(229, 26, 59, 1);
			line-height: 0.88rem;
			margin-top: 0.5rem;
			span{
				margin: 0 0.05rem;
			}
    }
  }
}
</style>